﻿using Domain.Entities;
using Microsoft.EntityFrameworkCore;

namespace Application.Commons.Data;

public static partial class ApplicationDbContextExtensions
{
    public static DbSet<MedicalQuestionAnswerPairs> MedicalQuestionAnswerPairs(this EfCoreDbContext db)
        => db.Set<MedicalQuestionAnswerPairs>();
    public static DbSet<KnowledgeBase> KnowledgeBases(this EfCoreDbContext db)
      => db.Set<KnowledgeBase>();

    public static DbSet<Dialogue> Dialogues(this EfCoreDbContext db)
      => db.Set<Dialogue>();
}